package com.gxa.p2p.service.impl;

import com.gxa.p2p.mapper.OrganMapper;
import com.gxa.p2p.pojo.Organ;
import com.gxa.p2p.service.OrganService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author ：looker
 * @date ：Created in 2021/10/27 11:27
 */
@Service
public class OrganServiceImpl implements OrganService {

    @Autowired
    OrganMapper organMapper;

    @Override
    public List<Organ> findAll() {
        List<Organ> all = organMapper.findAll();
        return all;
    }
}
